package com.qfedu.mapper;

import com.qfedu.entity.BoatEntity;
import com.qfedu.entity.BoatTypeEntity;
import com.qfedu.entity.RouteEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BoatMapper {
    public List<BoatEntity> queryByRid(int rid);

    public List<BoatEntity> queryBoat();

    public boolean insert(int rid,int sid);

    public List<BoatEntity> queryBoatList(BoatEntity be);

    public boolean delBoat(@Param("str") String str);

    public boolean updateBoat(BoatEntity be);

    public boolean insertBoat(BoatEntity be);

    public  List<BoatTypeEntity> queryBoatType();

    public  BoatEntity queryBoatById(int sid);


}
